package com.financing.wap.dao.impl;

import java.sql.SQLException;

import org.springframework.stereotype.Repository;

import com.financing.wap.common.SqlName;
import com.financing.wap.dao.IClientRiskAnswerDao;
import com.financing.wap.dto.ClientRiskAnswerDTO;

@Repository("clientRiskQuestionDao")
@SuppressWarnings(value={"deprecation"})
public class ClientRiskAnswerDaoImpl extends BaseDaoImpl<ClientRiskAnswerDTO, java.lang.Integer> implements IClientRiskAnswerDao {

	@Override
	public int insertClientRiskAnswer(ClientRiskAnswerDTO dto)
			throws SQLException {
		return (Integer)this.getSqlMapClientTemplate().insert(SqlName.CLIENT_CORP_INSERT_RISKANSWER,dto);
	}

	@Override
	public int updateClientRiskAnswer(ClientRiskAnswerDTO dto)
			throws SQLException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteClientRiskAnswer(ClientRiskAnswerDTO dto)
			throws SQLException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Class<ClientRiskAnswerDTO> getEntityClass() {
		// TODO Auto-generated method stub
		return null;
	}
	

}
